package tech.runchen.gz5055.oms.common.annotation;

import tech.runchen.gz5055.oms.common.enums.UserType;

import java.lang.annotation.*;

/**
 * @author zzj
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequiresPermissions {

    /**
     * 用户类型
     *
     * @return
     */
    UserType[] value() default {};

}